<template>
  <el-tooltip class="toolbar-upload-img" content="上传图片" placement="top">
    <div class="toolbar-item" @click="showImgFilePicker">
      <i class="iconfont icon-tupian"></i>
    </div>
  </el-tooltip>
</template>

<script>
export default {
  props: {},
  inject: ['getSelectStyleObj', 'execCommand'],
  data() {
    return {}
  },
  computed: {
    selectStyleObj() {
      return this.getSelectStyleObj()
    },
    isImg() {
      return false
    },
  },
  methods: {
    showImgFilePicker() {},
  },
}
</script>

<style lang="scss" scoped>
.toolbar-upload-img {
  @import '@styles/richText/toolbar.scss';
}
</style>
